package com.linwen.javase.desgin_pattern.action.memento;

/**
 * @ClassName Caretaker
 * @Description
 * @Author lin
 * @Date 2022/6/29 上午1:33
 * @Version V1.0
 */

//管理者
class Caretaker {
    private Memento memento;
    public void setMemento(Memento m) {
        memento = m;
    }
    public Memento getMemento() {
        return memento;
    }
}